home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 277 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: fheitka@ibm.net (Frederick V. Heitkamp)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: Compiling X Programs Under Amiga Linux?
  5. Date: 29 Jan 1996 12:05:48 GMT
  6. Organization: NONE
  7. Distribution: world
  8. Message-ID: <4eid6s$uqo@news-s01.ny.us.ibm.net>
  9. References: <4dvqi0$4r2i@news-s01.ny.us.ibm.net> <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE> <4e547j$1jsk@news-s01.ny.us.ibm.net> <4e5730$bf3@idefix.CS.kuleuven.ac.be>
  10. NNTP-Posting-Host: slip37-208-74.ibm.net
  11. Mime-Version: 1.0
  12. Content-Type: Text/Plain; charset=US-ASCII
  13. Keywords: X, libraries, Amiga, Linux
  14. X-Newsreader: WinVN 0.99.6
  15.  
  16. In article <4e5730$bf3@idefix.CS.kuleuven.ac.be>, geert@cs.KULeuven.ac.be$ 
  17. says...
  18. >
  19. >In article <4e547j$1jsk@news-s01.ny.us.ibm.net>, fheitka@ibm.net (Frederick 
  20. V. Heitkamp) writes:
  21. >|> In article <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE>, 
  22. >|> Frank.Neumann@Informatik.Uni-Oldenburg.DE says...
  23. >|> >
  24. >|> >Hi,
  25. >|> >heitkamp@ibm.net (Frederick V. Heitkamp) writes:
  26. >|> >
  27. >|> OK.  Let me tell you the whole story.  I have the X shared libraries
  28. >|> in /usr/X11R6/lib.  When I try to compile the demo X program using,
  29. >|> "gcc -o Xdemo Xdemo.c -L/usr/X11R6/lib -I/usr/X11R6/include -lX11"
  30. >|> I get an error message saying it can't find libX11, even though the
  31. >|> shared (sa) library is there.  I thought I read some where that you need
  32. >|> the lib*.a, lib*.sa, and lib*so, so I thought the lib*.a file being
  33. >|> missing might cause the problem.  I guess for ELF, one of those library
  34. >|> types is not needed.  I thought it was the lib*.sa.  At least, 
  35. >|> this is the way my Linux PC is set up.
  36. >
  37. >Try to create soft links from /usr/X11R6/lib/lib*.so to the
  38. >/usr/X11R6/lib/lib*.so.6.0 libraries, e.g.
  39. >
  40. >        cd /usr/X11R6/lib
  41. >        ln -s libX11.so.6.0 libX11.so
  42. >
  43. Right now it is:
  44.     libX11.so.6 -> libX11.so.6.0.0
  45.  
  46.     etc.
  47.  
  48. Isn't that correct?
  49.  
  50. Fred Heitkamp
  51.  
  52.